package com.example.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private Integer id;
    private String content;
    private Integer userId;
    private Integer articleId;
    private Integer parentId;
    private LocalDateTime createTime;
    private Integer pregnant;//是否具有子评论
}

